import pymysql


# todo 连接超时问题
def mysql_connect(host, port, user, password, database):
    try:
        connect = pymysql.connect(
            host=host,
            port=port,
            user=user,
            password=password,
            database=database,
        )
        return connect
    except:
        pass


def linux_connect():
    pass
